/**
 * 
 */
package com.aibili.pojo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @author qiuch
 * 
 */
@Entity
@Table(name = "t_user_info")
public class UserInfo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6734740117231616299L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", length = 11, nullable = false)
	private long id;

	@Column(name = "mobile")
	private String mobile;// 手机号

	@Column(name = "password")
	private String password;// md5加密的密码

	@Column(name = "paypassword")
	private String paypassword;// 支付密码MD5加密
	
	@Column(name = "user_name")
	private String user_name;// 用户名

	@Column(name = "real_name")
	private String real_name;// 真实姓名

	@Column(name = "portrait")
	private String portrait;// 头像地址

	@Column(name = "level")
	private int level;// 等级

	@Column(name = "exp")
	private int exp;// 经验值

	@Column(name = "point")
	private int point;// 爱币......

	@Column(name = "appellation")
	private String appellation;// 称谓

	@Column(name = "idcard")
	private String idcard;// 身份证号，不为空则已认证

	@Column(name = "birthday")
	private String birthday;// 生日

	@Column(name = "age")
	private int age;// 年龄

	@Column(name = "income")
	private int income;// 收入

	@Column(name = "height")
	private int height;// 身高
	
	@Column(name = "video_evaluate",columnDefinition = "TINYINT(1) DEFAULT 0")
	private int video_evaluate;//视频综合评价等级
	
	@Column(name = "location")
	private String location;// 所在地

	@Column(name = "gender") // 性别
	private String gender;

	@Column(name = "love_activity") // 喜欢的活动
	private String love_activity;

	@Column(name = "hobbies") // 兴趣爱好
	private String hobbies;

	@Column(name = "adepthings") // 擅长的
	private String adepthings;
	
	@Column(name = "signature") // 个性签名
	private String signature;

	@Column(name = "yx_reg") // 云信注册标识位
	private String yx_reg;
	
	@Column(name="money")
	private double money;//可提现金额
	
	@Column(name = "create_time", columnDefinition = "TIMESTAMP default CURRENT_TIMESTAMP")
	private Date create_time;
	
	@Column(name = "is_seale", columnDefinition = "TINYINT(1) DEFAULT 0")
	private Integer is_seale; 
	
	@Column(name = "fans_num", columnDefinition = "TINYINT(1) DEFAULT 0")
	private int fans_num;//粉丝数量
	
	@Column(name = " attention_num", columnDefinition = "TINYINT(1) DEFAULT 0")
	private int  attention_num;//关注数量
	
	@Column(name = "is_home", columnDefinition = "TINYINT(1) DEFAULT 0")
	private Integer is_home; //设在主页，0不在 1在主页
	
//	@Column(name = " content")
//	private int  content;//排讯顺序
	
	@Column(name = "top_time")
	private Date top_time;//置顶时间
	
	@Column(name = "card_num")
	private String card_num;//支付宝账号

	@Transient
	private int relation;// 关系 1 关注 2 相互关注

	@Transient
	private int favorability;// 好感度

	@Transient
	private MomentInfo moment;
	
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Integer getIs_seale() {
		return is_seale;
	}

	public void setIs_seale(Integer is_seale) {
		this.is_seale = is_seale;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public String getPortrait() {
		return portrait;
	}

	public void setPortrait(String portrait) {
		this.portrait = portrait;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public int getExp() {
		return exp;
	}

	public void setExp(int exp) {
		this.exp = exp;
	}

	public int getPoint() {
		return point;
	}

	public void setPoint(int point) {
		this.point = point;
	}

	public String getAppellation() {
		return appellation;
	}

	public void setAppellation(String appellation) {
		this.appellation = appellation;
	}

	public String getIdcard() {
		return idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public int getIncome() {
		return income;
	}

	public void setIncome(int income) {
		this.income = income;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public int getRelation() {
		return relation;
	}

	public void setRelation(int relation) {
		this.relation = relation;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getLove_activity() {
		return love_activity;
	}

	public void setLove_activity(String love_activity) {
		this.love_activity = love_activity;
	}

	public String getHobbies() {
		return hobbies;
	}

	public void setHobbies(String hobbies) {
		this.hobbies = hobbies;
	}

	public String getAdepthings() {
		return adepthings;
	}

	public void setAdepthings(String adepthings) {
		this.adepthings = adepthings;
	}

	public String getReal_name() {
		return real_name;
	}

	public void setReal_name(String real_name) {
		this.real_name = real_name;
	}

	public String getYx_reg() {
		return yx_reg;
	}

	public void setYx_reg(String yx_reg) {
		this.yx_reg = yx_reg;
	}

	public int getFavorability() {
		return favorability;
	}

	public void setFavorability(int favorability) {
		this.favorability = favorability;
	}

	public MomentInfo getMoment() {
		return moment;
	}

	public void setMoment(MomentInfo moment) {
		this.moment = moment;
	}

	public int getVideo_evaluate() {
		return video_evaluate;
	}

	public void setVideo_evaluate(int video_evaluate) {
		this.video_evaluate = video_evaluate;
	}

	public String getSignature() {
		return signature;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}

	public int getFans_num() {
		return fans_num;
	}

	public void setFans_num(int fans_num) {
		this.fans_num = fans_num;
	}

	public int getAttention_num() {
		return attention_num;
	}

	public void setAttention_num(int attention_num) {
		this.attention_num = attention_num;
	}

	public Integer getIs_home() {
		return is_home;
	}

	public void setIs_home(Integer is_home) {
		this.is_home = is_home;
	}

	public Date getTop_time() {
		return top_time;
	}

	public void setTop_time(Date top_time) {
		this.top_time = top_time;
	}

	public double getMoney() {
		return money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public String getPaypassword() {
		return paypassword;
	}

	public void setPaypassword(String paypassword) {
		this.paypassword = paypassword;
	}

	public String getCard_num() {
		return card_num;
	}

	public void setCard_num(String card_num) {
		this.card_num = card_num;
	}



}
